﻿#region Using Directives

using System;

using SharePointStu.SharePoint.General;

#endregion Using Directives

namespace SharePointStu.ItemAuditing
{
	/// <summary>
	/// Invalid SPWeb identifier exception class.
	/// </summary>
	public class InvalidWebIdentifierException : BaseException
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initialises a new instance of the <see cref="T:SharePointStu.ItemAuditing.InvalidWebIdentifierException"/> class.
		/// </summary>
        /// <param name="auditType">A <see cref="T:SharePointStu.ItemAuditing.Controls.AuditLogView.AuditTypes"/> object.</param>
        public InvalidWebIdentifierException(Controls.AuditLogView.AuditTypes auditType)
		{
            string s = Resources.Exceptions.InvalidWebIdentifierException;
            _msg = string.Format(s, auditType);
		}

		#endregion Constructors and Destructors
	}
}
